<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
  <title>上传头像</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="Keywords" content="" />
  <meta name="Description" content="" />
  <style type="text/css" media="screen">
  html, body{ height:100%; background-color: #ffffff; font-family:"微软雅黑","宋体", arial;}
  a{text-decoration: none;margin-left:5%;width:200px;height:30px;color:#005bac;}
  a:hover{color:#888;}
  #flashContent { width:100%; height:100%; }
  </style>
  
  <script type="text/javascript">
   function uploadevent(status){
	//alert(status);
        status += '';
     switch(status){
     case '1':
		var time = new Date().getTime();
		document.getElementById('avatar_priview').innerHTML = " <img src='__ROOT__/test/avatar/{$Think.session.id}.png?" + time + "'/> <img src='__ROOT__/test/avatar/{$Think.session.id}_2.png?" + time + "'/> <img src='__ROOT__/test/avatar/{$Think.session.id}_3.png?" + time + "'/>" ;
		
	break;
     break;
     case '-1':
	  window.location.reload();
     break;
     default:
     window.location.reload();
    } 
   }
  </script>
 </head>
 <body>
  <div id="altContent" style="margin-left:20%;">


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="650" HEIGHT="450" id="myMovieName">
<PARAM NAME=movie VALUE="../Public/flash/avatar.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<param name="flashvars" value="imgUrl=../Public/flash/default.png&uploadUrl=__URL__/upfile&uploadSrc=false" />
<EMBED src="../Public/flash/avatar.swf" quality=high bgcolor=#FFFFFF WIDTH="650" HEIGHT="450" wmode="transparent" flashVars="imgUrl=../Public/flash/default.png&uploadUrl=__URL__/upfile&uploadSrc=false"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" allowScriptAccess="always"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
 
<div id="avatar_priview" style="margin-left:5%;"></div>
<a href="__APP__/User"><b>返回到我的资料页面</b></a>
  </div>

  

</body>
</html>